﻿using System;

namespace YunZuan.Models
{
    public class SupplierRow
    {
        public SupplierData[] rows { get; set; }
    }
    public class SupplierData
    {
        public string supplier { get; set; }
        public SupplierDataSet whitelist { get; set; }
        public string short_name { get; set; }
        public string full_name { get; set; }
        public SupplierDataSet classify { get; set; }
    }
    public class SupplierDataSet
    {
        public bool gems { get; set; }
        public bool inlays { get; set; }
        public bool emeralds { get; set; }
        public bool prime_golds { get; set; }
        public bool inlay_settings { get; set; }
        public bool stocks { get; set; }
        public bool parcels { get; set; }
    }

    public class WhiteSupplier
    {
        public bool result { get; set; }
        public WhiteSupplierInfo[] msg { get; set; }
    }
    public class WhiteSupplierInfo
    {
        public int id { get; set; }
        public string name { get; set; }
        public string fullName { get; set; }
        public string productName { get; set; }
        public int erpId { get; set; }
        public DateTime createTime { get; set; }
    }
}
